﻿using System;
using System.Collections.Generic;
using System.Text;

namespace lingopen.Entity
{

    /// <summary>
    /// 数据库基类
    /// </summary>
    public class EntityBase
    {
        /// <summary>
        /// 表ID
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime { get; set; }
        /// <summary>
        /// 创建人ID
        /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LastModifyTime { get; set; }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LastModifyUserId { get; set; }
        /// <summary>
        /// 已删除
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletionTime { get; set; }
        /// <summary>
        /// 删除人id
        /// </summary>
        public string DeleteUserId { get; set; }
        /// <summary>
        /// 是否已同步云服务
        /// </summary>
        public bool? IsSync { get; set; }
        /// <summary>
        /// 云同步时间
        /// </summary>
        public DateTime? SyncTime { get; set; }
        /// <summary>
        /// 知识库id
        /// </summary>
        public string WikiId { get; set; }
    }
}